<script setup lang="ts">
const props = defineProps<{
    ujt: any;
}>();
const { $fn, $model, $global } = props.ujt;
function submitfn() {
    console.log(666.001, '提交');
}
function clickPopPass() {
    $global.pop['popconfirmdefaultpass'].stat = 1;
    $global.pop['popconfirmdefaultpass'].event = 'auto';
    $global.pop['popconfirmdefaultpass'].fn = submitfn;
}
</script>

<template>
    <h1>操作安全：输入密码二次确认</h1>
    <p>密码{{ $model.data.sys.settingpassword.passdefault }}</p>
    <PopBoxConfirmPass
        id="popconfirmdefaultpass"
        :pass="$model.data.sys.settingpassword.passdefault"
        :ujt="ujt"
        :full="1"
    ></PopBoxConfirmPass>
    <button @pointerdown="clickPopPass()">二次确认按钮</button>
</template>

<style scoped lang="scss"></style>
